import request from '@/utils/request'
import * as XLSX from 'xlsx'

export function getPaddingData(data){
    return request({
        url: 'tienchin/contract/unapprove',
        method: 'get',
        params: data
    })
}

export function getCustomerData(data){
    return request({
        url: 'tienchin/contract/customer/'+data,
        method: 'get',
    })
}
export function contractView(data){
    return request({
        url: 'tienchin/contract/views/'+data,
        method: 'get',
    })
}
export function activity_type(data){
    return request({
        url: 'system/dict/data/type/activity_type',
        method: 'get',
        params: data
    })
}
export function course_type(data){
    return request({
        url: 'system/dict/data/type/course_type',
        method: 'get',
        params: data
    })
}
export function contract_type(data){
    return request({
        url: 'system/dict/data/type/contract_status',
        method: 'get',
        params: data
    })
}

export function Business_channels(data){
    return request({
        url: 'tienchin/business/channels',
        method: 'get',
        params: data
    })
}

